﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Cherish.Core.Attributes;

namespace Cherish.LScheduler.Data
{
    /// <summary>
    /// 日程活动信息
    /// </summary>
    public interface IActivity
    {
        /// <summary>
        /// 唯一标识符
        /// </summary>
        [Column("id")]
        int ID
        {
            get;
            set;
        }

        /// <summary>
        /// 主题
        /// </summary>
        [Column("subject")]
        string Subject
        {
            get;
            set;
        }

        /// <summary>
        /// 颜色
        /// </summary>
        [Column("color")]
        string Color
        {
            get;
            set;
        }

        /// <summary>
        /// 开始时间
        /// </summary>
        [Column("starttime")]
        DateTime StartTime
        {
            get;
            set;
        }

        /// <summary>
        /// 结束时间
        /// </summary>
        [Column("endtime")]
        DateTime EndTime
        {
            get;
            set;
        }

        /// <summary>
        /// 活动内容
        /// </summary>
        [Column("content")]
        string Content
        {
            get;
            set;
        }
    }
}
